fastCSharp.LoadViewType(diantou.contest=function(Value)
	{
	fastCSharp.Copy(this,Value);
	var RandomCode=fastCSharp.Query.randomCode||this.RandomCode||'';
	if(RandomCode)	RandomCode='&randomCode='+RandomCode;
	this.Path={
		Index:'/contest/index.html#!contestId='+this.Id+RandomCode,
		Description:'/contest/description.html#!contestId='+this.Id+RandomCode,
		ProblemList:'/contest/problemList.html#!contestId='+this.Id+RandomCode,
		Favorite:'/contest/favorite.html#!contestId='+this.Id+RandomCode,
		JoinUser:'/contest/joinUser.html#!contestId='+this.Id+RandomCode,
		PointRank:'/contest/pointRank.html#!contestId='+this.Id+RandomCode,
		JudgeList:'/contest/judgeList.html#!contestId='+this.Id+RandomCode,
		ExternalEdit:'/contest/edit.html#!contestId='+this.Id+RandomCode,
		ExportUser:'/contest/contestUser/Export?contestId='+this.Id,
		ExportUserIgnoreLoad:1,
		Register:'/contest/register/c'+this.Id+'.html',
		RegisterIgnoreLoad:1
		};
	if(RandomCode)	this.Path.Register+='#!'+RandomCode.substring(1);
	});
diantou.contest.prototype={
QuestionPath:function()	{	return diantou.question.Get({Id:this.QuestionId}).Path.Index;	},
NodUserIdString:function()	{	return this.Remote.NodUserIds.join(',');	}
		};

fastCSharp.LoadViewType(diantou.userContest=function(Value)
	{
	fastCSharp.Copy(this,Value);
	});